package com.naizhuai.ui.entity;

import com.google.gson.annotations.SerializedName;
import com.naizhuai.ui.entity.Task.TaskFlowItem;
import com.naizhuai.ui.task.multtype.DataChart;
import com.naizhuai.ui.task.multtype.TaskInfo;

import java.io.Serializable;
import java.util.List;

/**
 * @author：lichenxi
 * @date 2018/5/10 12
 * email：525603977@qq.com
 * Fighting
 */
public class TaskDetialEntity implements Serializable {

    /**
     * title : python测试团队目标
     * detail : ["u6211u8981u4e00u4e2au4ebf","u6211u8981u4e24u4e2au4ebf"]
     * taskType : 2
     * taskStatus : DOING
     * taskStatusName : 进行中
     * managerUserInfo : {"uid":"616540685","thumb":"http://inte-image.oss-cn-beijing.aliyuncs.com/ad/20180413/40ba3c5cf183da9d9122f0b5373d286f.jpg","username":"张三"}
     * startTime : 0
     * endTime : 0
     * editButton : 1
     * circleTypeName : one_month
     * taskBudget : 50000
     * goalBudget : 50000
     * completeTaskCount : 0
     * unCompleteTaskCount : 0
     * taskFlowList : []
     * dataChart : {"xAxisName":"时间","yAxisName":"向量","xAxisMin":"0","xAxisMax":"5","yAxisMin":"0","yAxisMax":"10","data":[{"xPoint":"3","yPoint":"2"},{"xPoint":"3","yPoint":"2"},{"xPoint":"3","yPoint":"2"},{"xPoint":"3","yPoint":"2"},{"xPoint":"3","yPoint":"2"}]}
     */

    public String title;
    public String taskType;
    public String taskStatus;
    public String taskStatusName;
    @SerializedName("managerUserInfo")
    public UserLeader leader;
    public String startTime;
    public String endTime;
    public String editButton;
    public String circleTypeName;
    public String taskBudget;
    public String goalBudget;
    public String completeTaskCount;
    public String unCompleteTaskCount;
    public DataChart dataChart;
    public List<TaskFlowItem> taskFlowList;
    @SerializedName("baseTaskInfo")
    public TaskInfo mTaskInfo;

    public static class DataChartBean {
        /**
         * xAxisName : 时间
         * yAxisName : 向量
         * xAxisMin : 0
         * xAxisMax : 5
         * yAxisMin : 0
         * yAxisMax : 10
         * data : [{"xPoint":"3","yPoint":"2"},{"xPoint":"3","yPoint":"2"},{"xPoint":"3","yPoint":"2"},{"xPoint":"3","yPoint":"2"},{"xPoint":"3","yPoint":"2"}]
         */

        public String xAxisName;
        public String yAxisName;
        public String xAxisMin;
        public String xAxisMax;
        public String yAxisMin;
        public String yAxisMax;
        public List<DataBean> data;



        public static class DataBean implements Serializable{
            /**
             * xPoint : 3
             * yPoint : 2
             */

            public String xPoint;
            public String yPoint;

        }
    }
}
